Skip to content

perf: remove redundant ancestry submission work#692

Merged
mattsse merged 7 commits into
mainfrom
codex/pr-689-perf
Jul 21, 2026
Merged

perf: remove redundant ancestry submission work#692
mattsse merged 7 commits into
mainfrom
codex/pr-689-perf

Conversation

@0xalpharush

@0xalpharush 0xalpharush commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #689 that reduces ancestry-submission overhead:

  • keep cache hits read-only and insert only fetched misses
  • fetch misses concurrently without head-of-line blocking
  • remove redundant L1-tip and ZonePortal.blockHash RPCs
  • avoid formatting ancestry payloads in logs
  • free the ancestry cache after recovery returns to direct mode

Also extracts ancestry resolution for property testing. The full-gap E2E passed in 330.97s.

@0xalpharush
0xalpharush changed the base branch from main to centaur/cache-ancestry-headers-1784222561 July 16, 2026 21:16
Base automatically changed from centaur/cache-ancestry-headers-1784222561 to main July 17, 2026 12:18
@decofe
decofe force-pushed the codex/pr-689-perf branch from 70feef2 to c022436 Compare July 21, 2026 14:04
@0xalpharush
0xalpharush marked this pull request as ready for review July 21, 2026 14:09
@mattsse
mattsse added this pull request to the merge queue Jul 21, 2026
Merged via the queue into main with commit 8312bd8 Jul 21, 2026
16 checks passed
@mattsse
mattsse deleted the codex/pr-689-perf branch July 21, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants